﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<QianBuo.Lottery.Web.Models.BankModel>" %>
<% var list = new List<string> { "工商银行", "建设银行", "中国农业银行", "支付宝", "财富通" }; %>
<%= Html.DropDownList(Model.Name, Model.Banks.Where(p=>list.Contains(p.Name)).Select(p => new SelectListItem { Text=p.Name, Value=p.ID.ToString(),Selected=p.Selected }), "请选择银行")%>